package com.example.tellwin.question.contract;

import com.example.tellwin.base.BaseContract;
import com.example.tellwin.mine.bean.GradeBean;
import com.example.tellwin.mine.bean.SubjectBean;
import com.example.tellwin.question.bean.VoiceBean;

import java.util.List;

/**
 * @author : LinZePeng
 * @date : 2020/12/1
 * @Describe ：
 **/
public interface AnswerContract {
    interface View extends BaseContract.BaseView {
        void selectAnswerTypeResult(int type);

        void userHeadPic(String headUrl, String name);

        void answerSuccess();

        void cancelOrderSuccess();
    }

    interface Presenter<T> extends BaseContract.BasePresenter<T> {
        void selectAnswerType(String orderId, int type);

        void userHeadPic(String userId);

        void answerSuccess(String orderId, String answerText, String answerDuration);

        void cancelOrder(String orderId);
    }
}
